/**
 * @author 蒙伟明
 * @data 2020年6月10日
 */
package com.ysxm.entity;

import java.util.List;

import javax.validation.constraints.Null;

import com.fasterxml.jackson.annotation.JsonInclude;

/**
 * @author mwm
 *
 */
@JsonInclude(JsonInclude.Include.NON_NULL)
public class Movies {

	private Integer mid;// 影视表主键
	@Null(message="请输入名称")
	private String moviesname;// 影视名称
	@Null(message="请输入描述")
	private String moviesdescribe;// 影视描述
	private String moviesuploadtime;// 影视上传时间
	@Null(message="请上传视频")
	private String moviesaddress;
	private String moivecover;
	private Integer msid;// 影视类型表外键
	private String moivepower;// 影视权限
	private Moviessorrt moviessorrt;// 关联影视类型
	private Integer count;// 影视类型表外键
	private List<Moviessorrt> msList;

	public Integer getMid() {
		return mid;
	}
	public void setMid(Integer mid) {
		this.mid = mid;
	}
	public String getMoviesname() {
		return moviesname;
	}
	public void setMoviesname(String moviesname) {
		this.moviesname = moviesname;
	}
	public String getMoviesdescribe() {
		return moviesdescribe;
	}
	public void setMoviesdescribe(String moviesdescribe) {
		this.moviesdescribe = moviesdescribe;
	}
	public String getMoviesuploadtime() {
		return moviesuploadtime;
	}
	public void setMoviesuploadtime(String moviesuploadtime) {
		this.moviesuploadtime = moviesuploadtime;
	}
	public String getMoviesaddress() {
		return moviesaddress;
	}
	public void setMoviesaddress(String moviesaddress) {
		this.moviesaddress = moviesaddress;
	}
	public Integer getMsid() {
		return msid;
	}
	public void setMsid(Integer msid) {
		this.msid = msid;
	}
	public String getMoivepower() {
		return moivepower;
	}
	public void setMoivepower(String moivepower) {
		this.moivepower = moivepower;
	}
	public Moviessorrt getMoviessorrt() {
		return moviessorrt;
	}
	public void setMoviessorrt(Moviessorrt moviessorrt) {
		this.moviessorrt = moviessorrt;
	}
	
	public List<Moviessorrt> getMsList() {
		return msList;
	}
	public void setMsList(List<Moviessorrt> msList) {
		this.msList = msList;
	}
	
	
	public String getMoivecover() {
		return moivecover;
	}
	public void setMoivecover(String moivecover) {
		this.moivecover = moivecover;
	}
	
	
	
	public Integer getCount() {
		return count;
	}
	public void setCount(Integer count) {
		this.count = count;
	}
	@Override
	public String toString() {
		return "Movies [mid=" + mid + ", moviesname=" + moviesname + ", moviesdescribe=" + moviesdescribe
				+ ", moviesuploadtime=" + moviesuploadtime + ", moviesaddress=" + moviesaddress + ", moivecover="
				+ moivecover + ", msid=" + msid + ", moivepower=" + moivepower + ", moviessorrt=" + moviessorrt
				+ ", count=" + count + ", msList=" + msList + "]";
	}
	
	
	
	
	
	
}
